package com.jyk.blog.mapper;

import com.jyk.blog.po.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<Comment> findByBlog(int blogID);
    void insertOne(Comment comment);
    void deleteOne(int commentID);
    void deleteByBlog(int blogID);
}
